#ifndef LOGINTHREAD_H
#define LOGINTHREAD_H
#include "QThread"
class OSCthulhuClient;
#include "OSCthulhuClient.h"

class LoginThread : public QThread
{
    Q_OBJECT
public:
    LoginThread(OSCthulhuClient* client);
    void run();
    void connectedToServer();
    void disconnectedFromServer();
    void restart();
private:
    OSCthulhuClient* client;
    bool connected;
};

#endif // LOGINTHREAD_H
